import request from '@/utils/request'
// 获取一定时间的账目
export const getOrderCount = (params) => {
  return request({
    url: '/order-service/report/orderCount',
    params
  })
}
// 获取一段时间的销售额
export const getSaleCount = (params) => {
  return request({
    url: '/order-service/report/orderAmount',
    params
  })
}
// 获取分成
export const getRatio = (params) => {
  return request({
    url: '/order-service/report/totalBill',
    params
  })
}
// 一段时间合作商分成比例
export const getPartnerRatio = (params) => {
  return request({
    url: 'order-service/report/partnerCollect',
    params
  })
}
